home *** CD-ROM | disk | FTP | other *** search
/ Champak 33 / Volume 33 - JOGO DISK .iso / Games / santas_deed.swf / scripts / DefineSprite_427 / frame_1 / DoAction.as
Text File  |  2007-01-15  |  3KB  |  79 lines

  1. var ┬º\x01┬º = 641;
  2. while(true)
  3. {
  4.    if(eval("\x01") != 641)
  5.    {
  6.       if(eval("\x01") != 372)
  7.       {
  8.          if(eval("\x01") != 890)
  9.          {
  10.             if(eval("\x01") == 763)
  11.             {
  12.                set("\x01",eval("\x01") - 515);
  13.                break;
  14.             }
  15.             if(eval("\x01") != 248)
  16.             {
  17.                if(eval("\x01") == 318)
  18.                {
  19.                   set("\x01",eval("\x01") - 275);
  20.                   ┬º┬ºenumerate(┬º┬ºpop()[targetPath(┬º┬ºpop() instanceof ┬º┬ºpop()[┬º┬ºpop() == ┬º┬ºpop()])]());
  21.                   var ┬º┬ºenumeration();
  22.                   ┬º┬ºpush(targetPath({}));
  23.                   break;
  24.                }
  25.                if(eval("\x01") == 43)
  26.                {
  27.                   set("\x01",eval("\x01") + 664);
  28.                   title_txt.embedFonts = true;
  29.                   title_txt.setNewTextFormat(_global.FORMAT01);
  30.                   desc_txt.embedFonts = true;
  31.                   desc_txt.setNewTextFormat(_global.FORMAT01);
  32.                   inst_txt.embedFonts = true;
  33.                   inst_txt.setTextFormat(_global.FORMAT01);
  34.                   stop();
  35.                   title_txt.text = "Gift Delivery";
  36.                   desc_txt.text = "Click on a gift, hold and release to throw the gift. Hold longer to throw further. You can move your sleigh with the mouse.";
  37.                   var NEXT = 0;
  38.                   ok_btn.onRelease = function()
  39.                   {
  40.                      _global.JUKEBOX.playSound1("scroll20");
  41.                      if(NEXT == 20)
  42.                      {
  43.                         _global.INTERFACE.closeTutorial();
  44.                      }
  45.                      else
  46.                      {
  47.                         NEXT += 5;
  48.                         gotoAndStop(NEXT);
  49.                      }
  50.                   };
  51.                   skip_btn.onRelease = function()
  52.                   {
  53.                      _global.JUKEBOX.playSound1("scroll20");
  54.                      _global.INTERFACE.closeTutorial();
  55.                   };
  56.                   break;
  57.                }
  58.             }
  59.             set("\x01",eval("\x01") + 124);
  60.             ┬º┬ºpush(true);
  61.          }
  62.          set("\x01",eval("\x01") - 127);
  63.          if(┬º┬ºpop())
  64.          {
  65.             set("\x01",eval("\x01") - 515);
  66.          }
  67.          continue;
  68.       }
  69.       set("\x01",eval("\x01") - 54);
  70.       if(┬º┬ºpop())
  71.       {
  72.          set("\x01",eval("\x01") - 275);
  73.       }
  74.       continue;
  75.    }
  76.    set("\x01",eval("\x01") + 249);
  77.    ┬º┬ºpush(true);
  78. }
  79.